/**
 * 	write on 2005-10-29 23:29:35.
 */
package org.nanhill.xmlro.sro.model;

import java.util.Date;

import org.nanhill.xmlro.Serializer;
import org.nanhill.xmlro.XmlroOutput;

/**
 * @author alin
 * 
 */
public class DateSerializer implements Serializer {

	/*
	 * (non-Javadoc)
	 * 
	 * @see org.nanhill.protocol.xmlro.Serializer#writeObject(java.lang.Object,
	 *      org.nanhill.protocol.xmlro.Output)
	 */
	public void writeObject(Object obj, XmlroOutput out) {
		out.writeDate((Date) obj);
	}

}
